package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;

	/**
	 *  
	 * @author wangzj
	 * 
	 */	
	public class TreaShoppingUI extends BaseUI
	{
		private static var _self   :TreaShoppingUI;
		public var backGround:NxClip;
		public var MoneyBtn:NxButton;
		public var activionLabel:NxLabel;
		public var ShoppintText:NxText;
		public var lastTimeLab:NxLabel;
		public var Label:NxLabel;
		public var ItemList:NxViewGroup;
		
		public function TreaShoppingUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public static function getInstance():TreaShoppingUI
		{
			if(_self==null)
			{
				_self=new TreaShoppingUI();
			}
			return _self;
		}
		override public function  Init():void
		{
			TreaShoppingLogic.getInstance().Init();
		}
		
		override protected function	BeforeShow():void
		{
			TreaShoppingLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			TreaShoppingLogic.getInstance().AfterHide();
		}
	}
}